﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using KPIS.GERP.GIMS.MODEL;
using Telerik.Web.UI;

namespace KPIS.GERP.GIMS.IBLL
{
    public interface IBLLMasterPurchaseMapping
    {
        IList<MasterPurchaseMappingInfo> GetMasterPurchaseMapping();
        IList<MasterPurchaseMappingInfo> GetMasterPurchaseMapping(string record_status);
        MasterPurchaseMappingInfo GetMasterPurchaseMapping(int seq);
        IList<MasterPurchaseMappingInfo> GetMasterPurchaseMappingWithRule(int rule_seq);
        IList<MasterPurchaseMappingInfo> GetMasterPurchaseMappingWithCondition(int type_seq, int rule_seq, double amount);
        void Insert(MasterPurchaseMappingInfo info);
        void Update(MasterPurchaseMappingInfo info);
        void Delete(MasterPurchaseMappingInfo info);
        void DeleteAll(IList<MasterPurchaseMappingInfo> infoList);
        void DeleteFromDB(IList<MasterPurchaseMappingInfo> infoList);
        void Restore(IList<MasterPurchaseMappingInfo> infoList);
        void CheckData(MasterPurchaseMappingInfo info);
    }
}
